<div class="title">Student ändern</div>

<?php 

echo $this->element('flashMessage');

echo $this->Form->create('Student',array('class'=>'form','action'=>'update'));

echo $this->Form->input('first_name',array('label'=>'Vorname:'));
echo $this->Form->input('family_name',array('label'=>'Nachname:'));
echo $this->Form->input('phone_number',array('label'=>'Telefon:'));
echo $this->Form->input('date_of_birth',array('label'=>'Geb.-Tag:'));
echo $this->Form->input('zip_code',array('label'=>'Plz:'));
echo $this->Form->input('city',array('label'=>'Stadt:'));
echo $this->Form->input('adress',array('label'=>'Strasse:'));
echo $this->Form->input('street_number',array('label'=>'Haus-Nr.:'));
echo $this->Form->input('registration_number',array('label'=>'Matrikel-Nr.:'));
echo $this->Form->input('state_id',array('label'=>'Status:'));
echo $this->Form->input('company_id',array('label'=>'Unternhemen:'));
echo $this->Form->input('course_id',array('label'=>'Kurs:'));
echo $this->Form->input('free_text',array('label'=>'Notizen:','type'=>'textarea'));

echo '<div class="form_div_buttons">';
echo '<input type="submit" name="&auml;" value="&Auml;ndern">';
echo $this->Html->link('Abbrechen',array('action'=>'index'));
echo '</div>';

echo $this->Form->end();
?>